package com.ruoyi.swimming.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruoyi.swimming.domian.SwimmingTicket;

import java.util.List;

/**
 * 泳票Mapper接口
 * 
 * @author ruoyi
 * @date 2021-07-17
 */
public interface SwimmingTicketMapper extends BaseMapper<SwimmingTicket>
{
    /**
     * 查询泳票
     * 
     * @param id 泳票ID
     * @return 泳票
     */
    public SwimmingTicket selectSwimmingTicketById(Long id);

    /**
     * 查询泳票列表
     * 
     * @param swimmingTicket 泳票
     * @return 泳票集合
     */
    public List<SwimmingTicket> selectSwimmingTicketList(SwimmingTicket swimmingTicket);

}
